// 版心宽度  
// width:1180px;
// margin: 0 auto;
body {
    padding-top: 62px;
}

header {
    width: 100%;
    height: 62px;
    background: #fff;
    box-shadow: 0 0 4px 2px #e6e6e6;
    position: fixed;
    top: 0;
    z-index: 999;
    transition: 0.3s;
    section {
        width: 1180px;
        margin: 0 auto;

        h1 {
            float: left;
            transition: 0.3s;
        }

        nav {
            float: left;
            height: 100%;
            margin-left: 40px;

            li {
                float: left;
                font-weight: bold;
                height: 100%;

                a {
                    padding: 0 14px;
                    display: block;
                    height: 62px;
                    line-height: 62px;
                    color: #333333;
                    font-size: 14px;
                }
            }

            .active a {
                color: #1abc9c;
            }
        }

        aside {
            float: right;

            div {
                display: inline-block;
                width: 42px;
                height: 30px;
                border-left: 1px solid #efefef;
                border-right: 1px solid #efefef;
                margin-top: 16px;
                text-align: center;
                line-height: 30px;

                i {
                    color: #cccccc;
                    font-weight: bold;
                }
            }

            a {
                font-size: 14px;
                color: #666666;

                &:nth-child(2) {
                    margin-left: 24px;
                }

                &:nth-child(3) {
                    margin-left: 14px;
                }

                &:last-child {
                    color: #eee;
                    padding: 10px 14px;
                    background: #1abc9c;
                    border-radius: 4px;
                    margin-left: 10px;
                }
            }
        }

        button {
            display: none;
        }
    }
}

.main_outside {
    width: 100%;
    background: #f5f5f5;
    padding-top: 20px;
    padding-bottom: 20px;

    .main_content_top {
        width: 1180px;
        margin: 0 auto;

        .main_left {
            width: 860px;
            float: left;
            margin-right: 20px;
            margin-bottom: 20px;
            transition: 0.3s ease-out;
            .main_left_section1 {
                .banner_max {
                    margin-right: 10px;
                    float: left;
                    transition: 0.3s;
                }

                .banner_min {
                    float: left;
                    transition: 0.3s;
                    img {
                        margin-bottom: 10px;

                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                }
            }

            .main_left_section2 {
                background: #fff;
                padding: 15px;
                box-sizing: border-box;
                width: 100%;
                margin-top: 20px;

                hgroup {
                    border-bottom: 1px solid #efefef;

                    h3 {
                        font-size: 18px;
                        color: #333;
                        font-weight: normal;
                        float: left;
                        padding-bottom: 15px;
                    }

                    h4 {
                        font-size: 12px;
                        color: #999999;
                        float: right;
                        font-weight: normal;
                        padding-top: 8px;
                    }
                }

                article {
                    padding-top: 15px;
                    display: flex;
                    justify-content: space-evenly;
                }
            }

            .main_left_section3 {
                margin-top: 20px;
                background: #fff;
                padding: 0 15px;

                nav {
                    height: 50px;
                    box-sizing: border-box;
                    border-bottom: 1px solid #efefef;
                    display: flex;

                    li {
                        float: left;

                        height: 100%;
                        box-sizing: border-box;

                        a {
                            line-height: 50px;
                            padding: 0 15px;
                            color: #666666;
                            border-right: 1px solid #efefef;

                        }

                        &:first-child {
                            padding-left: 0;
                            border-bottom: 2px solid #1abc9c;

                            a {
                                color: #1abc9c;
                                padding-left: 0;
                            }
                        }

                        &:last-child a {
                            border-right: 0;
                        }
                    }
                }

                figure {
                    padding: 20px 0;
                    display: flex;
                    border-bottom: 1px solid #efefef;

                    // &:last-child{
                    //     border-bottom: 0;
                    // }
                    figcaption {
                        margin-right: 16px;
                        width: 33%;

                        img {
                            width: 100%;
                        }
                    }

                    article {
                        flex: 1;
                        position: relative;

                        h4 {
                            font-weight: normal;
                            font-size: 20px;
                            color: #333333;
                            margin-bottom: 14px;
                        }

                        p {
                            line-height: 22px;
                            font-size: 12px;
                            color: #666666;
                            text-indent: 10px;
                        }

                        em {
                            position: absolute;
                            left: 0;
                            bottom: 0;

                            span {
                                font-size: 12px;
                                color: #999999;

                                i {
                                    display: inline-block;
                                    vertical-align: middle;
                                }
                            }
                        }

                    }
                }

                button {
                    font-size: 12px;
                    height: 41px;
                    width: 100%;
                    box-sizing: border-box;
                    border: 1px solid #e5e5e5;
                    line-height: 39px;
                    text-align: center;
                    border-radius: 4px;
                    background: #fff;
                    margin: 30px 0;
                    color: #999999;
                    cursor: pointer;
                }
            }
        }

        .main_right {
            width: 300px;
            float: right;
            box-sizing: border-box;

            // position: sticky;
            // bottom: 0;
            .main_right_section1 {
                padding: 0 15px;
                background: #fff;

                h4 {
                    padding: 15px 0;
                    font-weight: normal;

                    span {
                        width: 4px;
                        height: 16px;
                        border-radius: 2px;
                        display: inline-block;
                        vertical-align: middle;
                        background: #1abc9c;
                        margin-top: -4px;
                        margin-right: 8px;
                    }
                }

                figure {
                    padding-bottom: 15px;
                    display: flex;

                    figcaption {
                        margin-right: 10px;
                    }

                    article {
                        p {
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            line-height: 20px;
                            color: #333333;
                            font-size: 12px;
                        }

                        span {
                            margin-top: 12px;
                            color: #999999;
                            font-size: 12px;
                        }
                    }
                }
            }

            .main_right_section2 {
                margin-top: 20px;
                margin-bottom: 20px;
            }

            .main_right_section3 {
                background: #fff;
                margin-top: 20px;

                h4 {
                    padding: 15px;
                    font-weight: normal;

                    span {
                        width: 4px;
                        height: 16px;
                        border-radius: 2px;
                        display: inline-block;
                        vertical-align: middle;
                        background: #1abc9c;
                        margin-top: -4px;
                        margin-right: 8px;
                    }
                }

                article {
                    padding: 0 15px;
                    padding-bottom: 16px;

                    a {
                        width: 85px;
                        height: 25px;
                        border: 1px solid #b0b0b0;
                        border-radius: 2px;
                        margin-right: 4px;
                        float: left;
                        color: #666666;
                        font-size: 12px;
                        text-align: center;
                        margin-bottom: 3px;

                        &:nth-child(3n) {
                            margin-right: 0;
                        }
                    }
                }
            }
        }
    }

    .main_content_bottom {
        width: 100%;
        padding-bottom: 0;

        .main_content_bottom_main {
            width: 1180px;
            margin: 0 auto;
            background: #fff;
            padding: 15px;
            box-sizing: border-box;

            hgroup {
                border-bottom: 1px solid #efefef;

                h3 {
                    font-size: 18px;
                    color: #333;
                    font-weight: normal;
                    float: left;
                    padding-bottom: 15px;
                }

                h4 {
                    font-size: 12px;
                    color: #999999;
                    float: right;
                    font-weight: normal;
                    padding-top: 8px;
                }
            }

            article {
                padding: 10px 0;

                a {
                    display: inline-block;
                    font-size: 12px;
                    color: #999999;
                    margin-right: 20px;
                    line-height: 32px;
                }
            }
        }

    }
}

.footer_outside {
    background: #2d3237;
    height: 152px;
    width: 100%;

    .footer_content {
        width: 1180px;
        margin: 0 auto;

        ul {
            padding-top: 42px;
            padding-bottom: 32px;

            li {
                float: left;
                font-size: 12px;
                color: #76818c;
                margin-right: 20px;
            }
        }

        p {
            font-size: 12px;
            color: #76818c;
        }
    }
}

@media screen and (min-width:991px) and (max-width:1219px) {
    header {
        section {
            width: 960px;

            nav {
                li {
                    a {
                        padding: 0 10px;
                    }
                }
            }
        }
    }

    .main_outside {
        .main_content_top {
            width: 960px;
            margin: 0 auto;

            .main_left {
                width: 690px;

                .main_left_section1 {
                    .banner_max {
                        width: 100%;
                        margin-right: 0;

                        img {
                            width: 100%;
                        }
                    }

                    .banner_min {
                        margin-top: 20px;
                        width: 100%;
                        display: flex;
                        justify-content: space-between;

                        img {
                            width: 220px;
                            margin-bottom: 0;
                        }
                    }
                }

                .main_left_section2 {
                    article {
                        justify-content: space-between;

                        img {
                            width: 155px;
                        }
                    }
                }
            }

            .main_right {
                width: 250px;

                .main_right_section2 {
                    img {
                        width: 250px;
                    }
                }
            }
        }

        .main_content_bottom {
            .main_content_bottom_main {
                width: 960px;
            }

        }
    }

    .footer_outside {
        .footer_content {
            width: 960px;
        }
    }
}

@media screen and (min-width:768px) and (max-width:990px) {
    header {
        section {
            width: 100%;
            box-sizing: border-box;
            padding: 0 15px;

            nav {
                display: none;
            }

            aside {
                display: none;
            }

            button {
                display: block;
                float: right;
                margin-top: 14px;
                outline: none;

                .isize {
                    font-size: 30px;
                    background: transparent;
                }
            }
        }
    }

    .main_outside {
        .main_content_top {
            width: 100%;

            .main_left {
                box-sizing: border-box;
                margin-right: 0;
                padding: 0 15px;
                width: 100%;

                .main_left_section1 {
                    .banner_max {
                        width: 100%;
                        margin-right: 0;

                        img {
                            width: 100%;
                        }
                    }

                    .banner_min {
                        margin-top: 20px;
                        width: 100%;
                        display: flex;
                        justify-content: space-between;

                        img {
                            width: 32%;
                            margin-bottom: 0;
                        }
                    }
                }

                .main_left_section2 {
                    article {
                        justify-content: space-between;
                        flex-wrap: wrap;

                        img {
                            margin: 1%;
                            width: 48%;
                        }
                    }
                }
            }

            .main_right {
                display: none;
            }
        }

        .main_content_bottom {
            padding: 15px;
            box-sizing: border-box;

            .main_content_bottom_main {
                width: 100%;
                padding: 15px;
                box-sizing: border-box;
            }
        }
    }

    .footer_outside {
        .footer_content {
            width: 100%;

            ul {
                display: flex;
                justify-content: center;
            }

            p {
                text-align: center;
            }
        }
    }
}

@media screen and (max-width:767px) {
    body {
        padding-top: 50px;
    }

    header {
        height: 50px;

        section {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            padding: 0 15px;

            h1 {
                height: 100%;

                img {
                    height: 100%;
                }
            }

            nav {
                display: none;
            }

            aside {
                display: none;
            }

            button {
                display: block;
                float: right;
                margin-top: 8px;
                outline: none;

                .isize {
                    font-size: 30px;
                    background: transparent;
                }
            }
        }
    }

    .main_outside {
        .main_content_top {
            width: 100%;

            .main_left {
                box-sizing: border-box;
                margin-right: 0;
                padding: 0 15px;
                width: 100%;

                .main_left_section1 {
                    .banner_max {
                        width: 100%;
                        margin-right: 0;

                        img {
                            width: 100%;
                        }
                    }

                    .banner_min {
                        display: none;
                    }
                }

                .main_left_section2 {
                    article {
                        justify-content: space-between;
                        flex-wrap: wrap;

                        img {
                            margin: 1%;
                            width: 48%;
                        }
                    }
                }

                .main_left_section3 {
                    nav {
                        display: flex;
                        overflow: hidden;

                        li {
                            flex-shrink: 0;
                        }
                    }

                    figure {
                        article {
                            h4 {
                                overflow: hidden;
                                text-overflow: ellipsis;
                                display: -webkit-box;
                                -webkit-line-clamp: 2;
                                -webkit-box-orient: vertical;
                            }

                            p {
                                display: none;
                            }
                            em{
                                width: 100%;
                                display: flex;
                                justify-content: space-between;
                            }
                        }
                    }
                }
            }

            .main_right {
                display: none;
            }
        }

        .main_content_bottom {
            display: none;
        }
    }

    .footer_outside {
        height: 63px;
        padding: 20px 0 ;
        .footer_content {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            ul {
                display: none;
            }
        }
    }

}